<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="register" method="post">
    用户名:<input type="text" name="userName"/><br>
    密码:<input type="password" name="password"><br>
    密码:<input type="password" name="password2"><br>
    手机:<input type="text" name="phone"/><br>
    邮箱：<input type="text" name="email"/><br>
    生日：<input type="text" name="birthday"/><br>

    <input type="checkbox" name="hobbies" value="1">篮球
    <input type="checkbox" name="hobbies" value="2">唱歌
    <input type="checkbox" name="hobbies" value="3">跳舞

<!--    <select name="roleId">-->
    <!--multiple="multiple"可以多选-->
    <select name="role.id" multiple="multiple">
        <option value="1">超级管理员</option>
        <option value="2">老师</option>
        <option value="3">销售</option>
    </select>

    <button>登录</button>
</form>
</body>
</html>